//
//  StartPageView.h
//  QRMaster
//
//  Created by myApple on 15/3/20.
//  Copyright (c) 2015年 myApple. All rights reserved.
//

#import <UIKit/UIKit.h>

@class StartPageView;
@protocol StartPageViewDelegate <NSObject>

/**
 *  切换语言
 */
-(void)changeLanguage;

/**
 *  忘记密码
 */
-(void)ForgetPassWord;

/**
 *  登录
 *
 *  @param uid      账号ID
 *  @param password 账号密码
 *  @param code     手机号区号
 */
-(void)Login:(NSString *)uid PassWord:(NSString *)password areaCode:(NSString *)code;

/**
 *  注册
 */
-(void)Resgsit;

/**
 *  试用
 */
-(void)trial;


/**
 *  选择国家/地区
 */
-(void)choiceArea;

/**
 *  通过邮箱登录
 */
-(void)loginByEamil;

@end

@interface StartPageView : UIView

@property(nonatomic,assign)id<StartPageViewDelegate>delegate;

@property(nonatomic,copy) UITextField * areaCodeTextField;//区号

@property(nonatomic,copy) UIButton * areaTextBtn;//选择地区按钮

@end
